package band.wukong.practice.netty.userguide.objectecho;

import java.util.ArrayList;
import java.util.List;

/**
 * Desc:
 * author: wukonggg@139.com
 */
public class ObjectEcho {

    private final List<Integer> firstMessage;

    public ObjectEcho() {
        firstMessage = new ArrayList<Integer>(ObjectEchoConst.SIZE);
        for (int i = 0; i < ObjectEchoConst.SIZE; i++) {
            firstMessage.add(i);
        }
    }

    public List<Integer> getFirstMessage() {
        return firstMessage;
    }
}
